import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
//引入适配方案
import 'amfe-flexible'
//引入规范化样式文件
import 'normalize.css/normalize.css'
import '@/assets/css/main.css'
//注册vant组件
import '@/plugins/vant'
//导入api
import api from '@/api'
Vue.prototype.$api=api//注册成全局
// 导入mock
import '@/mock'


//注册导入apiProxy 经代理注册到原型
import {apiProxy} from '@/utils/request'
Vue.prototype.$apiProxy=apiProxy





new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
